package cn.beatuty.makeup.module.system.controller.admin.article.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.*;

@Schema(description = "管理后台 - 文章新增/修改 Request VO")
@Data
public class ArticleSaveReqVO {

    @Schema(description = "文章ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "10750")
    private Long id;

    @Schema(description = "文章标题", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "文章标题不能为空")
    private String title;

    @Schema(description = "文章内容")
    private String content;

    @Schema(description = "文章封面")
    private String coverImage;

    @Schema(description = "文章视频", example = "https://www.iocoder.cn")
    private String videoUrl;

    @Schema(description = "文章状态（1：正常，0：删除）", example = "1")
    private Integer status;

    @Schema(description = "文章话题code", example = "19866")
    private Long topicCode;




}